﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Duisho
    {
        private string name;

        public string Name { get => name; set => name = value; }
        public void Mingzi()
        {
            Console.WriteLine("请选择对方角色《1.刘备；2.孙权；3.曹操》");
            int a = int.Parse(Console.ReadLine());
            if (a==1)
            {
                name = "刘备";
            }
            if (a==2)
            {
                name = "孙权";
            }
            if (a==3)
            {
                name = "曹操";
            }
        }
    }
}
